/* Banner Principal */
.banner {
    background-image: url('imagen/prod.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 50px;
    text-align: center;
}

.combo-container {
    width: 225%;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  h2 {
    color: #e60000;
    margin-bottom: 5px;
  }

  p {
    margin: 5px 0;
  }

  .combo-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
  }


  .modal-window {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    &:target {
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
    }
    .modal-backdrop {
      position: fixed;
      background-color: rgba(255, 255, 255, 0.5);
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      margin: 0;
    }
    .modal {
      width: 60rem;
      padding: 2em;
      background: white;
      position: relative;
      box-shadow: 0 0 8px 1px rgba(0,0,0,0.25);
      border-radius: 0.5rem;
    }
    .modal-close {
      color: #aaa;
      font-size: 80%;
      position: absolute;
      right: 0;
      top: 0;
      text-align: center;
      text-decoration: none;
      margin: 0;
      padding: 0.25rem 0.5rem;
    }
  }

  .item {
    flex: 1;
    margin: 0 10px;
    text-align: center;
  }

  .item img {

    height: auto;
    margin-bottom: 10px;
  }

  .price {
    color: #e60000;
    font-weight: bold;
  }

  .combo-total {
    margin-top: 20px;
    text-align: center;
  }

  .old-price {
    text-decoration: line-through;
    color: #999;
  }

  .new-price {
    color: #e60000;
    font-weight: bold;
    font-size: 1.2em;
  }

  .savings {
    color: green;
    font-weight: bold;
  }

  button {
    margin-top: 10px;

    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  button:hover {
    background: #cc0000;
  }

.banner h1 {
    font-size: 2.5em;
}

.banner p {
    font-size: 1.2em;
}

.banner button {
    background-color: #FF7F50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
}

.banner button:hover {
    background-color: #FF4500;
}
.banner h1 {
    font-size: 3em;
}

.banner button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

/* Categorías */
.categories {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 20px;
}

.category {
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    width: 45%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.category button {
    margin-top: 10px;
    padding: 8px 12px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Productos Destacados */
.productos {
    text-align: center;
    padding: 30px 10px;
}

.productos h2 {
    margin-bottom: 20px;
    font-size: 2em;
}

.productos-red {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-ver-mas {
    display: inline-block;
    background-color: #e41212;
    color: #fff;
    padding: 5px 10px;
    width: 160px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-ver-mas:hover {
    background-color: #858585;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }

  th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 12PX;
  }

  th {
    background-color: #d6d6d6;
    color: white;
  }

  tr:hover {
    background-color: #f1f1f1;
  }
  .title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 12px;
    color: #333;
  }
.slide-container {
    width: 100%;
    text-align: center;
}


.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
background-color: white;
    max-width: 1200px;
    margin: 50px auto;

}
/* Estilos para pantallas grandes */
@media screen and (min-width: 1024px) {
    .product-images {
        width: 80%;
        flex-direction: row;
    }
    .slider {
        flex: 1;
    }
    .main-image-container {
        flex: 2;
    }
}

/* Estilos para pantallas medianas */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .product-images {
        width: 90%;
    }
    .slider, .main-image-container {
        width: 100%;
    }
}

/* Estilos para pantallas pequeñas */
@media screen and (max-width: 768px) {
    .product-images {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .slider {
        width: 100%;
    }
    .main-image-container {
        width: 90%;
    }
}
.product-details-container {
    width: 255%;

    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background-color: #ffffff;
}

.product-characteristics,
.product-description {
    width: 48%; /* Ancho de cada sección, dejando un pequeño espacio entre ellas */
    padding: 20px;

    border-radius: 8px;

}

.product-characteristics table {
    width: 100%;
    border-collapse: collapse;
}
.product-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


.main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #ddd;
}


.product-characteristics th,
.product-characteristics td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.product-description p {
    margin-bottom: 10px;
    line-height: 1.6;
}


/* Diseño de columnas para características y descripción */
.details-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.product-characteristics,
.product-description {
    width: 48%;
}

h2 {
    color: #333;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    font-weight: bold;
    color: #555;
}

.product-description p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Estilo para la sección de productos similares */
.similar-products {
    margin-top: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background-color: white;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}
.product-card:hover {
    transform: scale(1.02);
}

.product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.product-card .price {
    font-size: 16px;
    font-weight: bold;
    color: #e63946;
}

.product-card .discount {
    color: #28a745;
    font-size: 12px;
    margin-left: 5px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}




.left-btn {
    left: 0;
}

.right-btn {
    right: 0;
}

.product-details h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.price {
    font-size: 20px;
    color: #e60000;
    font-weight: bold;
}

.discount {
    font-size: 16px;
    color: #00a000;
    margin-left: 10px;
}

.product-details p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.product-actions {
    display: flex;
    flex-direction: column;

    gap: 9px;
    margin-left: -93px;
    padding: 23px;
}

.product-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.buy-now {
    background-color: #e60000;
    color: #fff;
    font-weight: bold;
}

.add-to-cart {
    background-color: #333;
    color: #fff;
}

.payment-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-methods li {
    font-size: 14px;
    color: #555;
}

/* Botones de navegación en el slider */

.contenedor_producto_variacion_sin .contenedor_producto_variacion_boton {
     background-color: #616161;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    margin-left: 10px;
    width: 100%;
    height: 41px;
    margin-left: 0px;
}

.contenedor_producto_variacion_sin .contenedor_producto_variacion_boton_disabled {
    background-color: #ddd;
    padding: 5px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    margin-left: 10px;
}

.contenedor_producto_variacion_sin .contenedor_producto_variacion_boton:hover {
    background-color: #969696;
}

/* Estilo para la sección de producto */
.contenedor_producto_detalle {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 8px;
}

.image-section {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px 0 0 8px;
}

.info-section {
    flex: 2;
    padding: 20px;
}

.header h2, .header h1 {
    color: #333;
    font-size: 18px;
    margin: 0;
}

.details p {
    font-size: 14px;
    color: #555;
    margin: 8px 0;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-green {
    background-color: #e20c28;
    color: #fff;
}

.btn-green:hover {
    background-color: #727376;
}

.btn-gray {
    background-color: #6c757d;
    color: #fff;
}

.btn-gray:hover {
    background-color: #5a6268;
}

/* Estilo para el control de cantidad */
.control-suma {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    padding: 10px;
}

.control-suma button {
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 15px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    border-radius: 5px;
}

.control-suma button:hover {
    background-color: #f0f0f0;
}

.control-suma input {
    width: 60px;
    height: 50px;
    font-size: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 0 10px;
    padding: 10px;
    background-color: #ffffff;
    box-sizing: border-box;
}
.contorno-producto:hover {
    background-color: darkgray;
    animation: desliza 1s 0.5s 2 linear, desaparece 1s 0.5s 2 linear;
    cursor: pointer;
    transform: scale(1.1);
  }


.producto {
    background: #ffffff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 200px;
}

.producto img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.producto p {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1em;
}

.slider-container {
    display: flex;
    flex-direction: row;

    border-radius: 8px;


  }

  /* Miniaturas */
  .thumbnails {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-right: 47px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: border 0.3s ease;
    margin-left: 70px;
    margin-top: 30px;
  }

  .tarjeta-tienda {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    width: 310px;
}

.tarjeta-tienda img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.barra-verde {
    height: 8px;
    background-color: #28a745;
    border-radius: 5px;
    margin-top: 5px;
}

.imagen-principal {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.imagen-principal img {
    width: 100%;
    border-radius: 10px;
}

.imagen-sobrepuesta {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
  .thumbnail.active {
    border: 2px solid #e60000;
  }


  /* Imagen principal */
  .main-slider {
    position: relative;
    display: flex;
    align-items: center;
  }

  .main-image {
    width: 200px;
    height: 260px;
    overflow: hidden;
    border-radius: 8px;
  }

  .main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
  }

  /* Flechas de navegación */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  }

  .arrow:hover {
    background: #cc0000;
  }

  .prev {
    position: absolute;
    left: 40px;
  }
  .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="11" cy="11" r="8"/%3E%3Cline x1="21" y1="21" x2="16.65" y2="16.65"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}
#main-image {

    height: auto;
    transition: transform 0.1s ease;
    margin-top: 32px;
}
#main-image.zoomed {
    transform-origin: center center;
}
.main-image-container:hover .zoom-icon {
    opacity: 1;
}
  .next {
    position: absolute;
    right: 40px;
  }

  .indicators {
    position: absolute;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .dot.active {
    background-color: #000; ;
  }
.category {
    position: relative;
    text-align: center;
}
.contenedor_pagina_tienda {
    display: grid;
    grid-template-areas: "contenedor_filtro_tienda  contenedor_filtro_productos";
    grid-template-columns: 20% 1fr;
}

/*contenedor_filtro_tienda*/
.contenedor_filtro_tienda {
    grid-area: contenedor_filtro_tienda;
    width: 82%;
    display: flex;
    flex-direction: column;

    background-color: #fcfcfc;
    padding: 40px 20px;
}

/*contenedor_filtro_productos*/
.contenedor_filtro_productos {
    padding: 40px 0px;
    grid-area: contenedor_filtro_productos;
    width: 100%;
}

/*contenedor_filtro_tienda*/
.contenedor_filtro_tienda .titulo_filtro {
    font-size: 18px;
    font-weight: 700;
    color:red;
}

.contenedor_filtro_tienda input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    width: 24px;
    height: 24px;
    -webkit-appearance: none;
    /* @apply w-6 h-6 appearance-none pointer-events-auto; */
}

.contenedor_filtro_tienda .color_filtro {
    background-color:  #003366;
}

.contenedor_filtro_tienda li a {
    font-size: 16px;
}

.contenedor_filtro_tienda button {
    background-color:  #003366;
    padding: 5px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
}

.contenedor_filtro_tienda button:hover{
    background-color: #003366;
}

.productos_detalle-container {
    max-width: 768px;
    border-radius: 8px;

  }

  .productos_detalle-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .productos_detalle-payment-methods {
    margin-bottom: 20px;
  }

  .productos_detalle-payment-methods p {
    font-size: 14px;
    margin: 5px 0;
  }

  .productos_detalle-icons img {
    width: 40px;
    margin-right: 10px;
    vertical-align: middle;
  }

  .productos_detalle-similar-products h2 {
    margin-bottom: 15px;
  }

  .productos_detalle-product-card {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
  }

  .productos_detalle-product-card img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
  }

  .productos_detalle-product-info {
    flex-grow: 1;
  }

  .productos_detalle-product-info p {
    margin: 0;
  }

  .productos_detalle-product-name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
  }

  .productos_detalle-product-price {
    font-size: 12px;
    font-weight: 700;
    color: #000000;
  }

  .productos_detalle-product-discount {
    font-size: 14px;
    font-weight: 500;
    color: #ff5722;
  }


@media (max-width: 900px) {
    .contenedor_pagina_tienda {
        width: 100%;
        grid-template-areas:
            "contenedor_filtro_tienda"
            "contenedor_filtro_productos";
        grid-template-columns: 1fr;
    }
}


.category img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.category h2, .category p, .category button {
    position: relative;
    z-index: 2;
    color: white;
}

.category button {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category button:hover {
    background-color: #0056b3;
}



header .logo img {
    width: 100px;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.contact p {
    font-size: 14px;
}

.banner_producto {
    position: relative;
    background: url('/imagen/limpieza-de-fibra-optica.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
}


.banner h1, .banner p {
    color: #333;
}


.button-with-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.banner button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #d32f2f;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

.categories {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 20px;
}

.category {
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    width: 45%;
    height: 100%;
}

.category h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.category button {
    margin-top: 10px;
    padding: 10px 15px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
    .banner {
        padding: 30px;
        text-align: center;
    }

    .banner h1 {
        font-size: 1.8em;
    }

    .combo-container,
    .productos,
    .product-details-container {
        padding: 15px;
    }

    .product-container,
    .product-images,
    .product-details-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-images {
        gap: 15px;
        width: 100%;
    }

    .main-image {
        width: 90%;
        max-width: 500px;
        height: auto;
    }

    .product-description,
    .product-characteristics,
    .product-stock {
        width: 100%;
        padding: 15px;
        text-align: justify;
        margin-top: 15px;
    }

    .product-actions button {
        width: 100%;
        font-size: 1.2em;
        padding: 10px;
    }

    .category button {
        width: auto;
        padding: 12px 20px;
    }

    .product-details h1 {
        font-size: 1.5em;
        margin-top: 10px;
    }

    .product-container {
        display: block;
    }
}
@media screen and (max-width: 768px) {
    .slider-container {
        flex-direction: column; /* Alineación vertical de las miniaturas */
    }
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    .main-image {
        width: 100%;
        height: auto;
    }
}

/* Para pantallas medianas (tabletas) */
@media (min-width: 768px) and (max-width: 1024px) {
    .product-container {
        width: 90%;
    }

    .product-images {
        display: flex;
        justify-content: center;
    }

    .product-details-container {
        width: 90%;
        margin-left: 5%;
    }

    .contenido_productos_interes {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .carta_interes {
        width: 45%;
    }

    .main-slider img {
        width: 80%;
        height: auto;
    }

    .buy-now {
        font-size: 18px;
    }
}

/* Ajustes para pantallas grandes */
@media (min-width: 1025px) {
    .product-container {
        width: 100%;
        margin: 0 auto;
    }

    .product-images {
        display: flex;
        justify-content: space-between;
    }

    .product-details-container {
        width: 70%;
        margin-left: 10%;
    }

    .contenido_productos_interes {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .carta_interes {
        width: 23%;
    }

    .main-slider img {
        width: 100%;
        height: auto;
    }

    .buy-now {
        font-size: 20px;
    }
}

/* Para pantallas más pequeñas */
@media (max-width: 480px) {
    .product-details h1 {
        font-size: 1.4rem;
    }

    .product-description {
        font-size: 0.75rem;
    }

    .buy-now {
        padding: 10px;
        font-size: 0.9rem;
    }

    .slider-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-slider {
        width: 100%;
        max-width: 100%;
    }

    .indicators {
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .thumbnail {
        margin: 5px;
        width: 60px;
    }

    .thumbnail.active {
        border: 2px solid #333;
    }
}
/* Centrado completo en pantallas pequeñas */
@media (max-width: 768px) {
    /* Centrado de la imagen principal */
    .main-image-container,
    .product-images {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .main-image {
        width: 90%;
        max-width: 400px;
        height: auto;
        object-fit: contain;
    }

    /* Centrado del contenedor de detalles del producto */
    .product-details-container,
    .product-description,
    .product-characteristics,
    .product-stock,
    .product-eos,
    .product-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    /* Ajuste de tamaño de la descripción */
    .product-description {
        width: 90%;
        max-width: 600px;
        padding: 15px;
        margin-top: 10px;
        text-align: justify;
    }

    /* Características del producto */
    .product-characteristics {
        width: 90%;
        max-width: 600px;
        padding: 15px;
        text-align: center;
    }

    /* Botones apilados */
    .product-actions button {
        width: 100%;
        padding: 12px;
        font-size: 1.2rem;
        margin-top: 10px;
    }

    /* Asegurar que todo esté centrado */
    .product-details h1 {
        font-size: 1.6rem;
        margin-top: 10px;
        text-align: center;
    }

    .product-stock, .product-eos {
        width: 90%;
        max-width: 600px;
        padding: 10px;
        text-align: center;
        margin-top: 10px;
    }
}

/* Para pantallas más pequeñas */
@media (max-width: 480px) {
    .product-details-container {
        padding: 10px;
    }

    .product-description {
        font-size: 0.75rem;
        padding: 0 10px;
    }

    .product-characteristics {
        font-size: 0.8rem;
    }

    .product-actions button {
        font-size: 1rem;
    }

    .product-details h1 {
        font-size: 1.4rem;
    }

    .buy-now {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* Ajustes para la galería de productos y productos similares */
@media (max-width: 768px) {
    .productos_detalle-similar-products {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .productos_detalle-product-card {
        width: 90%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .productos_detalle-product-info {
        text-align: center;
    }

    .carta_interes {
        width: 90%;
        margin-bottom: 15px;
    }

    .main-slider img {
        width: 100%;
        height: auto;
    }

    .slider-container {
        display: block;
    }

    .buy-now {
        width: 100%;
        font-size: 16px;
    }
}
@media screen and (max-width: 768px) {
    .product-actions {
        margin-left: 0;
        padding: 10px;
    }
    .product-actions button {
        width: 100%; /* Los botones ocuparán el 100% del ancho */
        font-size: 14px;
    }
}
@media screen and (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr; /* Muestra solo una columna */
    }
    .product-card {
        margin: 10px;
    }
}
@media screen and (max-width: 768px) {
    .slider-container {
        flex-direction: column; /* Alineación vertical de las miniaturas */
    }
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    .main-image {
        width: 100%;
        height: auto;
    }
}
/* Para pantallas pequeñas */
@media screen and (max-width: 768px) {
    .product-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 20px auto; /* Esto asegura que el contenedor se centre */
        padding: 10px;
        width: 100%; /* Tomamos el 100% del ancho de la pantalla */
        max-width: 100%; /* Asegura que no haya límite de ancho */
    }

    .product-description p {
        font-size: 14px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 10px;
    }
}

/* Para pantallas medianas */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .product-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 20px auto;
        padding: 20px;
        width: 90%; /* Ajustamos para pantallas medianas */
        max-width: 900px; /* Limita el ancho para pantallas medianas */
    }

    .product-description p {
        font-size: 15px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 10px;
    }
}
/* Para pantallas pequeñas */
@media screen and (max-width: 768px) {
    .product-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0 auto; /* Asegura que el contenedor esté centrado */
        padding: 10px;
        width: 90%; /* Ancho del 90% para asegurarse de que se ajusta bien */
        max-width: 100%; /* Evita que el contenedor se ensanche más de lo necesario */
    }

    .product-description p {
        font-size: 14px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 10px;
        text-align: center; /* Asegura que los párrafos estén centrados */
    }
}

/* Para pantallas medianas */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .product-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        padding: 20px;
        width: 85%;
        max-width: 900px;
    }

    .product-description p {
        font-size: 15px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 10px;
        text-align: center;
    }
}
/* Para pantallas pequeñas */
@media screen and (max-width: 768px) {
    /* Centrado de la sección de descripción */
    .product-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 10px;
        width: 100%;
        margin: 0 auto;
    }

    /* Centrar el texto de la descripción */
    .product-description h2 {
        font-size: 18px; /* Ajuste del tamaño de fuente */
        text-align: center;
    }

    .product-description p {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
        margin-bottom: 10px;
        text-align: center; /* Centrado de texto */
        word-wrap: break-word;
        max-width: 100%; /* Asegura que no se salga del contenedor */
        padding: 0 20px; /* Agregar un poco de espacio para que no se pegue a los bordes */
    }

    /* Centrado del contenedor de características */
    .product-characteristics {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .product-characteristics h2 {
        font-size: 18px;
        text-align: center;
    }

    .product-characteristics table {
        width: 100%;
        margin: 20px 0;
        padding: 0 10px;
    }

    .product-details-container {
        width: 100%;
        margin-left: 0;
        padding: 0;
    }

    .product-details {
        text-align: center;
    }

    .product-details h1 {
        font-size: 20px;
        text-align: center;
    }

    .product-details p {
        font-size: 14px;
        text-align: center;
    }

    .buy-now {
        display: inline-block;
        padding: 12px 25px;
        font-size: 14px;
        background-color: red;
        color: white;
        text-decoration: none;
        border-radius: 10px;
        margin: 10px 0;
    }

    .buy-now:hover {
        background-color: darkred;
    }
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .product-info {
        text-align: center;
        padding: 10px;
    }

    .buy-now {
        width: 100%;
        text-align: center;
    }

    .product-characteristics table {
        font-size: 14px;
    }
}










